<?php

    include_once($_SERVER["DOCUMENT_ROOT"]."/web-doc/protected/database/MySqlDAO.php");
    // Contain variable "rootDir"
    include_once('../utils/directories.php');

    $name = "root";
    $path = DIRECTORY_SEPARATOR;

    mkdir(getRootDir(), 0777) or die ("Cannot make dir " . getRootDir());
    inizializeRoot($name, $path);

    header("Location: index.php");

?>
